<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: #00bfff;
            color: #fff;
        }

        #app {
            width: 300px;
            margin: 0 auto;
        }

        h1 {
            text-align: center;
        }
    </style>
</head>

<body>
    <div id="app">
        <h1>个人简历</h1>
        <p>姓名：{{ person.name }}</p>
        <p>年龄：{{ person.age }}</p>
        <p>电话：{{ person.phonenum }}</p>
        <p>地址：{{ person.address }}</p>
        <p>工作年限：{{ person.workage }}年</p>
    </div>


    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <script>
        const { createApp, ref } = Vue;
        createApp({
            setup() {
                const person = ref({

                    name: '小莱',
                    age: 18,
                    phonenum: '130-XXXX-XXXX',
                    address: '北京市海淀区西二旗',
                    workage: 10
                })
                return {
                    person
                }
            }

        }).mount('#app')
    </script>
</body>

</html>